# -*- codeing = utf-8 -*-
# @Time : 2021/2/2 19:22
# @Atuthor: 朱朱
# @File: urls.py
# @Software: PyCharm
from django.urls import path
from apps.users.views import *

urlpatterns = [
    # 判断用户名是否重复
    path('usernames/<re_username:username>/count/',UsernameCountView.as_view()),
    # 用户注册
    path('register/', RegisterView.as_view()),
    path('login/', LoginView.as_view()),
    path('logout/', LogoutView.as_view()),
    path('center/', CenterView.as_view()),
]